package Help.Manager.Album;
public class PhotoHelpers {
	public static String getParentFolderName(String imgPath) {
		String[] arr = imgPath.split("/");
		
		return arr[arr.length - 2];
	}
	
	public static String getParentPath(String imgPath) {
		int last = imgPath.lastIndexOf("/");
		return imgPath.substring(0, last + 1);
	}
}
